home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Browsers, Managers & Extensions / Mozilla Weave 0.2.7 / latest-weave.xpi / chrome / sync.jar / content / oauth.xul < prev    next >
Extensible Markup Language  |  2008-08-08  |  3KB  |  81 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3.  
  4. <!DOCTYPE overlay SYSTEM "chrome://weave/locale/oauth.dtd">
  5. <wizard id="oauth-wizard" title="&oauth.title;"
  6.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.         xmlns:html="http://www.w3.org/1999/xhtml">
  8.  
  9.   <script type="application/x-javascript" src="chrome://weave/content/load-weave.js"/>
  10.   <script type="application/x-javascript" src="chrome://weave/content/oauth.js"/>
  11.  
  12.   <stringbundleset id="stringbundleset">
  13.     <stringbundle id="weaveStringBundle" src="chrome://weave/locale/oauth.properties"/>
  14.   </stringbundleset>
  15.  
  16.   <wizardpage label="&intro.title;" onpageshow="gOAuthWizard.checkLogin();">
  17.     <label value="&intro.msg;"/>
  18.  
  19.     <separator class="groove"/>
  20.     
  21.     <vbox id="oauth-intro-upbox" hidden="true">
  22.       <label value="&intro.uid;"/>
  23.       <hbox>
  24.         <textbox id="oauth-intro-uid" oninput="gOAuthWizard.enableAuth();"/>
  25.       </hbox>
  26.       <label value="&intro.pwd;"/>
  27.       <hbox>
  28.         <textbox id="oauth-intro-pwd" type="password" oninput="gOAuthWizard.enableAuth();"/>
  29.       </hbox>
  30.     </vbox>
  31.     
  32.     <vbox id="oauth-intro-sin" class="header" hidden="true">
  33.       <label id="oauth-intro-pmsg"/>
  34.     </vbox>
  35.     
  36.     <vbox id="oauth-intro-pbox">
  37.       <label id="oauth-intro-plabel" value="&intro.pas;"/>
  38.       <hbox>
  39.         <textbox id="oauth-intro-phrase" type="password" oninput="gOAuthWizard.enableAuth();"/>
  40.       </hbox>
  41.     </vbox>
  42.     
  43.     <hbox id="oauth-intro-aubox">
  44.       <button id="oauth-intro-aubut" label="Authenticate" oncommand="gOAuthWizard.verifyLogin();"/>
  45.     </hbox>
  46.     <hbox id="oauth-intro-athing" hidden="true">
  47.       <image src="chrome://global/skin/icons/loading_16.png"/>
  48.       <label value="&intro.loading;"/>
  49.     </hbox>
  50.     <hbox id="oauth-intro-success" hidden="true">
  51.       <image src="chrome://global/skin/icons/information-16.png"/>
  52.       <label value="&intro.success;"/>
  53.     </hbox>
  54.     <hbox id="oauth-intro-error" hidden="true">
  55.       <image src="chrome://global/skin/icons/error-16.png"/>
  56.       <label value="&intro.error;"/>
  57.     </hbox>
  58.   </wizardpage>
  59.  
  60.   <wizardpage label="&conf.title;" onpageshow="gOAuthWizard.authorize();">
  61.     <hbox id="oauth-conf-loading">
  62.       <image src="chrome://global/skin/icons/loading_16.png"/>
  63.       <label value="&conf.loading;"/>
  64.     </hbox>
  65.     <hbox id="oauth-conf-error" hidden="true">
  66.       <image src="chrome://global/skin/icons/error-16.png"/>
  67.       <label id="oauth-conf-error-msg"/>
  68.     </hbox>
  69.     <label id="oauth-conf-msg"/>
  70.     <label id="oauth-conf-proceed" value="&conf.proceed;" hidden="true"/>
  71.   </wizardpage>
  72.   
  73.   <wizardpage label="&final.title;" onpageshow="gOAuthWizard.finalize();">
  74.     <hbox id="oauth-final-processing">
  75.       <image src="chrome://global/skin/icons/loading_16.png"/>
  76.       <label value="&final.processing;"/>
  77.     </hbox>
  78.     <label id="oauth-final-status"/>
  79.     <label id="oauth-final-manual" value="&final.manual;" hidden="true"/>
  80.   </wizardpage>
  81. </wizard>